package com.superman.serviceImpl;

import com.superman.dao.UserDao;
import com.superman.daoImpl.UserDaoImpl;
import com.superman.domain.User;
import com.superman.service.UserService;
public class UserServiceImpl implements UserService {
	private UserDao userDao = new UserDaoImpl();
	@Override
	public User login(User user) {
		return userDao.login(user);
	}
	@Override
	public int register(User user) {
		
		return userDao.register(user);
	}

}
